1.1-dev: fixed a bug in CAP negotiation that caused the uplink to hang because the negotiation never finished.  Also fixed a bug that kept the bot from finishing registration due to how some ircd's send the initial messages.