Fixed typo in the socket3 functions.

Related to issue: https://github.com/surfly/gevent/issues/478.