Fixing up the issue for Android emulators by switching out localhost for the 10.0.2.2 emulator feature http://developer.android.com/tools/devices/emulator.html#networkaddresses
Merge pull request #8 from gauntface/master

Get localhost working on Android emulators