Fix restart from snapshot.

Now snapshot seems work properly. 
Still need to work on connection timeout stuff. 

I will clean up transportation.go and stats.go in next pull request.