Developing proxy servlet for cross-domain calls