testing sockets with router