Updates to align TCPServerSocket interface with current versions of TCP/UDPSockets

Ref: https://github.com/sysapps/tcp-udp-sockets/issues/77