I think this is to get around the 0.0.0.0 vs. 127.0.0.1 issue, where sometimes 127.0.0.1 isn't supported, so we just want to rely on java to do it right.  However, I didn't add in the getHostString, so I might be mistaken.