Fix bug in ipToInt. Closes #12.