Added TCPServer constructor