Got it working. I had to allow "All unknown ISAPI extensions" in the "Web Service Extensions" node in IIS.
Probably I have to register the ISAPI extension wgx somewhere.