Added support for url encoded usernames, passwords
and hostnames