add network support for messages of any length
add Close() method to TCPServer