Better peer identification

Just for review. I will not be merging these changes into my master branch.
Why are you passing port as 0 here?