decoupled InvokeHttpMethod, which allows circular dependencies in cloudstack to resolve