Fixes #242

...nge [0-65535] throws a uri_syntax_error.