Null protocol

Building on the JSLint commit, I'm getting "null" from `url.protocol` when no protocol present, so this PR handles that case.