protocol-relative + misc

[fixes #6]