Make header usable from C++.
Extend "set" test by checking response handling.