Implemented proper peer checking when adding new peers

We now resolve a hostname to IP before we try to compare it to the existing peer pool
Don't forward localhost connections over the public network
Only accept peers if we asked for them