added support for http.Handler