Try to fix issue pyQode/pyqode.python#28

I should use 'localhost' on every platform (works fine on ubuntu gnome 14.04 with python 3.4)