Fixed an issue with a '?' being in the request line causing problems.