2.0 shell host fix

This does not contain a test. I tried to write a test that verifies that the server is listening to the correct host, but could not find a way to do it that was not platform-specific. I've verified manually that the fix works, but am bit annoyed that I can't cement the behavior. Not sure what to do here, I guess we'll just have to be vigilant if we ever modify this code again to make sure we don't break the behavior.