[FIX] setSSLPort with slash-less URL
[FIX] Make the DBMgr singleton process-specific

needed e.g. for uWSGI which forks after importing the application