Update readme.
Remove peer if the socket is closed.
Avoid talking to missing peers.
Fix piece inspection logic.