Make a socket for testing