Now with connection handling (kinda)

Brought in read_from_socket from test so it can read from the socket
with timeout included. New handle_connection function does everything
with the connection to the client once it has been made (adding
threads next). Server responds to connection, 5 second timeout, QUIT,
unregistered JOIN and unregistered PRIVMSG. Now also counts connections
that have been made.