Fix proxy when it path contains query string

We using Respond together with Symfony2 and generated url looks like ``//assets.site.com/js/respond/respond-proxy.html?_assets_version=123`. So library doesn't work properly without this patch.