JBIDE-18312 CordovaSim: Fixing Cross-Domain Post requests. PR for master