Simple socket test for a client and server