Allow default NDN.onopen/onclose handler to print messages