events: Use LIBIRC_RFC constants for NAMREPLY and END_OF_NAMES instead of magic numbers
command: Properly parse namreply