test client and server based on socks.c work