lib: setup user headers in query parser