Not sure I entirely understand, so...
Localhost (or 127.0.0.1) would only be useful if I was on the Almond+ itself. I am looking to have my Arduino (or Proton) connect to the Almond+ to give it some commands via the websocket. Arduinos do not have /etc/hosts functionality (that is linux-based) so I assume you mean to do something in the Almond+ for that... but I am not sure what as the Almond+ is not providing DNS resolution.
All the Arduino samples I see rely on DNS and I have tried a variety of Google searches to find an alternative. I even started trying to make my own Websocket version by upgrading the HTTP but do not have good examples for that process either. Would love to see how the Chrome Add-In is actually talking (what the HTTP commands look like so I could replicate them) but have not had a chance to stick a Wireshark into place to observe. I thought someone here might have a much quicker solution.