Add support for query parameters.

![raining pennies](https://cloud.githubusercontent.com/assets/115508/5049399/c81e9934-6bea-11e4-839e-ca6cf468b6a8.gif)