http handler extension (issue #14)