optimized ip2long function
Merge branch 'master' of github.com:araqne/logdb