Fix #453 - curl error when url contains #fragment.

Fixes https://github.com/guzzle/guzzle/issues/453