Implement ConnectionProxyStream to allow wrapping embedded streams (e.g. SSL) as a ConnectionStream.