Java Agent API cannot connect to policy server