Add support for query params

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>