Added TLS/SSL support to server

I think this should work, but I'm still trying to figure out how to test it. Sorry, I'm new at this contributing-to-open-source-projects thing!