rename NewHTTPHandler->NewAPIHandler, NewAPIHandler->NewAPIHandlerFunc