Socket programming example, one-to-one information transfer between client and server