ReceiveNetworkEvents(m_networkDriver);// Just on the first execution, make sure to handle any events that accumulated while completing the connection.
m_networkDriver.ScheduleUpdate().Complete();// This pumps all messages, which pings the Relay allocation and keeps it alive. It should be called no more often than ReceiveNetworkEvents.
ReceiveNetworkEvents(m_networkDriver);// This reads the message queue which was just updated.
while((cmd=driver.PopEvent(outconn,outstrm))!=NetworkEvent.Type.Empty)// NetworkConnection also has PopEvent, but NetworkDriver.PopEvent automatically includes new connections.