Fix ip address format for python2.7
Merge pull request #30 from shader/master

Fix ip address format for python2.7