Hi I got this error as well, and for the life of me couldn't figure out how to get around it. My installation was using IIS as the web-server. What I did was uninstall and re-install using the Cassini Web Server and the problem was solved. Not sure why it wouldn't work with IIS, but I suspect it might have had something to do with my IIS installation not being a default setup. I have other features and services installed with IIS that may have conflicted with what 3CX needed, but as to specifically what I cannot say.
It seemed like everything was setup correctly (ie correct ports open, no compression settings, proper permissions, etc) but I just couldn't get it work with IIS.
Once I reinstalled and used the Cassini, my problems were solved. Hope this helps. I am planning to test it again, on a newly provisioned server with IIS in its default configuration and I'll let you know what happens, but in the interim, you might want to try using Cassini.
Marcel