add connection code
implement most of the client messages
listen to messages from IRC server
forgot to close socket if disconnected
functions related to listeners