Ticket #738: Avoid malformed urls
In particular 'schema: //host/path' (note the space)