Change the interface for server and ssl server
At the moment there are two almost identical structs in the repository for representing servers. One is standard http the other is https. The https server has basically all the logic of the http server without any additions. A unified interface for reading from ssl and non ssl connections could save a lot here