Added simple API for http.HandlerFunc