Actor like api for http request handling