http socket server and client test