Simplify getNodeId(). #performance

We cast the resource as an integer, and then we md5 it. In this way, we
save an output buffer creation and destruction.
Avoid an implicit cast. #performance
[auto] Merge from Socket

    • #d714c9e — Simplify getNodeId(). #performance (Ivan Enderlin, 2013-02-25)
    • #d69c8bb — Avoid an implicit cast. #performance (Ivan Enderlin, 2013-02-26)

---

Merge remote branch 'library-socket/master'