Asynchronous TCP server based on asyncore.