Merge pull request #124 from irccloud/cap-timeout

Add an overall timeout on CAP negotiation