HH-32061 add add_headers and add_arguments for ExpectingHandler
HH-32061 add method class to _handler