Using 127.0.0.1 instead of localhost.

localhost may not work, depending on how the system is configured.

Fixes Valloric/YouCompleteMe#1130

Also related to Valloric/YouCompleteMe#987