WIP: tcp server, create separate module for tcp-server.