LAN Chat server and client - client not properly functional