timeout for transfere. This helps when the node is far left behind. The server will not wait for sending a large package before send the other heartbeat
init the log entries.
rafactor server.go
reduce one gorotine to select in peer.go flush()
server should not be blocking will holding the lock
Merge pull request #42 from xiangli-cmu/server

Server.go refactor