Revert "Accept all protocols in url parsing"

This reverts commit aeeb2bf840fa35d91208b6dd7db7f35964fddd9a.