added very basic tcp support (open/close socket, send/recv data)