add protocol-relative URL support to libxdr