Improve capability negotiation
Do CAP LS first to see which capabilities that is available instead of requesting all and let the server ack or nack them. This improves the connection speed considerably.