better error handling, shorter reply to node

packet headers and contents are not sent back to the node due to their
size.

Everything is assumed to be okay, if the API's returned header is
present and the content is NULL