Add support for SSL

See http://stackoverflow.com/questions/10523947/setting-up-ssl-with-sockjs