Fixing old peer manager.
Setting ip address in local peer.
Refactor (removed getKey from LocalPeer).
Refactor for better handling of local peer detection.
Split 'common/' into commit '68e581b26d5792e5e08fa86329f8ce4d806750e4'

git-subtree-dir: common
git-subtree-mainline: b53ad1a8c58df60cd8f0c50b63e6c05294bc0503
git-subtree-split: 68e581b26d5792e5e08fa86329f8ce4d806750e4