Hello Peter,
I had exactly the same problem you described, after some troubleshooting i found that the CCM_client virtual directory on the SCCM machine is causing the problem. I still don't know what the problem is but i found that if you recreate the CCM_Client virtual directory the problem should be gone. It worked for me.
Good luck
Greetz
Aad Noman