Move getSockets() to SocketServer interface

Any caller using add or remove should also be able to list the
sockets.
3 files changed