Fix #38 (use protocol-relative URI in API loader)