MDL-49497 curl: keep api private and test it using reflection.