Fixed connection error handling in stream socket connect

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Allow passing through secure transport in http request

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed ssl version in stripe mediator

Signed-off-by: Tom Wright <tom@inflatablecookie.com>