Changed SocketStore class to be able to handle multiple sets of sockets