Added SSL functionality and (partially based on that) added the possibility to use a multi-tenant setup... That last part does need more work however, on the frontend (webinterface).