refactor TCPClient constructor so PApplet argument is first