Improved connection documentation

added a little example to explain how to set username password host and port in a new connection