Don't override socket.socket. Instead, explicitly create MockSockets for
switch connections, but nothing else.