Move http client to AS service and component registry.