TCP Interface based on CII of Dave Hanson, using provided TCP server code