Python 2.5 compatibility: socket.create_connection
Python 2.5 compatibility: poll_interval in SocketServer