Scala Collector: Clean accessing the URI query and get the HTTP headers. #432