Prefer protocol to scheme

When using url.parse(), a protocol will be provided instead of scheme.
Only use scheme if no protocol is provided
Merge pull request #64 from tschaub/protocol

Respect protocol