TCP server for various testing purposes