Added connect functionality to support proxies that reqiure connects
Removed M2Crypto requirement since it is not used anywhere