Improve logging on server connection level
Get rid of those ugly hardcoded settings
Allow config values to be defined globally
Implement SSL support