simple client server using socket