Changed all references to 'localhost' to 127.0.0.1

 Attempt to fix bug #9