Tests: Add tests for SSL socket

An example key/certificate pair has been added to spec/support for the
purpose of the test. An additional rake task specifies the location is
the ssl certificate using the SSL_CERTIFICATE environment variable. It
is assumed that the key has the same name as the certificate with a
different extension.

The tests for the SSL socket currently hang on test 10.