Split server in two files.
Better CTRL+D handling and allow "//" as a way to send "/".
Adding heartbeat/timeout to command line, fix timeout in TCP server.
Added UDP server, fixed receive not handling closed remote.