fix for URLComponents returning nil
fix for URLComponents returning nil

* when path contains 'weird' characters (`[]`) URLComponents won't parse it, so the path will be nil
  * escaping the string with `urlQueryAllowed` character set fixes this issue

httpswift/swifter,httpswift/swifter