Fix issue #8. More robust url parsing, especially for relative urls.
Add scheme alias for protocol