Added TLS/SSL support to server