Experimenting with sockets - Client application