fixed md5 check and IP detection
Merge pull request #7 from smorin/master

fixed md5 check and IP detection