Parses a line from an IRC server.