Improve Node dgram signatures.
Merge pull request #2480 from rogierschouten/nodedgram

Improve Node dgram signatures.