Implemented URL.

See http://tools.ietf.org/html/rfc5545#section-3.6.1 in the optional block.

The whitespace changes seem to be inconsistent whitespace use and my IDE fixed it, should I omit this from the commit?