Make Widget compile
Adding SNI + TLSv1.1/v1.2 support

All thanks to @rfc2822 for his SocketFactory code