prevent parse_url issues in request URIs with '://', fixes #494