Main code: Lars-Dominik Braun <PromyLOPh@lavabit.com>