Set the socket to non-blocking mode
Use the twisted logger to log errors