the existing tests plus some I added actually make a server and use the regular socket. I needed mock socket to test some edge cases.