Added ability to give credentials when connecting

This is useful for e.g., using the `EXTERNAL` SASL mechanism with
RabbitMQ, which looks at the SSL client certificate rather than
expecting a username and password.