CXX-20 add initial support for write commands