Remove SSL support
Use environment variables, add some logging