improve network logging and messages, don't send when disconnected