Refactoring Paxos client methods into client.go