PHP class interface to TCP sockets
