Add service name to handle_function/handle_error to better distinguish different service calls
Introduce a new option app_ctx which data will be passed to handle_function/handle_error for every service call