enhanced proxy to support api versioning