Asynchronous socket server

Follow the tutorial of
https://docs.python.org/2/library/socketserver.html
Add timeout, receive all