CSync: Give ctx to proxy callback

This fixes a crash.