1.1-dev: added a check for empty extensions, which allows the bot to skip CAP negotiation