Added configurable SSL protocol.