implement grdx_netstring_to_string_wb and grdx_string_to_netstring_wb functions