Add ws_value_set_get() function

Required for my work on #357.

The renaming of the old function was done, so the `ws_value_set_get()`
function name is consistent with the corresponding functions of the other
value types.

Blocks #357