test ssl stream connection (fixes #189)

This is a work-in-progress implementation of an SSLStreamConnection test. I'll clean this up shortly.