Add shutdown method
Move supporting code to _socket.py to do more API testing
Add empty modules for socket, ssl, select
Module refactoring