Fixing SSL configuration.

The SSL configuration had a few errors around constructing the
ServerConnector for https. It would be great if this could be merged and new release created. Let me know if I can help out in any way.