Modify the socket creation