Added query string support.

Fixes #5
Merge pull request #7 from firstandthird/feature/5-query-string

Added query string support.