Added parsing of URI and appending query from header. URI shoudl be always good in producer.