Use socket.peeraddr instead of socket.peer
Merge pull request #5 from xthexder/master

Fix client whitelisting for log input