Added protection against 127.0.0.1, localhost and "same origin" peers creation requests.
Merge origin/master