Patched chat bug to add non-existent contacts.

Added debug output to network_stack for tracing.