Added test to verify protocol relative URLs

Fixes #426