Add scheme support to the LdapURL class.

Rename methods for clarity.