What kind of object is the reply? It must have an toString method, so sys.puts could print the string; but why == comparison will be true, but === will be false? I'd expect == comparison will be false as well. And the inspected result seems it's ASCII encoded.
So we should first hard convert the reply to string, before we handle this string, right?
Buffer, for binary compatibility.
I see, thanks for confirming!
node.js api has documented buffer.toString(), my ignorance: