fix(peer_server): set store and registry when setting raft server

New raft server needs new store and registry.