remove HeaderFunc in http handler

it's useless, you can wrap the handler