Coding local peer refresh.
Merged frostwire-common changes