Connects to chat server and reads packets.
Connects to chat server and reads packets.