Node sdk enhancements

A series of SDK fixes and enhancements based on experiences using the SDK in the Phrixus project