Nodified the TCP client/server API.