Temporarily disable client side certificate
Refactored socket import.