Feature ssl support.

This adds rudimentary support for ssl configuration. Does not yet handle distribution of ssl certificates.