Update TcpSocket API Interface

Update TcpSocket API Interface to match new Freedom API