Zmq app

Couldn't this one be a `sync_resource` method? Something like: `sync_resource.get_docs_to_send(user_id, source_replica_uid, target_last_known_generation, target_last_known_trans_id)`. Or, why does it need to be a function defined inside a method?