Remove query string from base url.

The base url used for the signature base string must not contain a
query string.
Use IsValid for URL validation

Rely on the IsValid function for validating the URL set for the Request
instead of RegEx.