write-concern: add write-concern implementation.