pebkac: SSLException -> SSLError
fix all the places where ssl should be applied to sockets

also use gevent.ssl for the gevent handler