Fixes

* Default SSL port is now used correctly
* Added separate optional environment variable for specifying the client port
* DB path can now be specified via environment variable as well