add X-Doc-Id, X-Doc-Rev headers

these headers are needed by couchbase lite.