Separation of SSL

Moved SSL specific code into its own repository so that clients have
full flexibility in deciding if they want to use SSL with astateful or
not.