Use handler1 for testing
Fix reference to socket.read() for new socket module