updated protocol version to tls

this will solve the issues with server not responding to sslv3 due to bug found in the protocol (POODLE)