figure out if stratum 1 is currently snapshotting
refactor get rest requests
add a 'start_replication' method in RemoteRepository
minor refactoring in RemoteRepository