code: public DocumentT findOneAndReplace(final Bson filter,
                                       final Bson replacement,
                                       final RemoteFindOneAndModifyOptions options) {
      return proxy.findOneAndReplace(filter, replacement, options);
    }
docs: Finds a document in the collection and replaces it with the given document
  
  @param filter the query filter
  @param replacement the document to replace the matched document with
  @param options A RemoteFindOneAndModifyOptions struct
  @return the resulting document