Fixed handling of connect and disconnect messages in console.