This allows message handlers to read upstream/downstream connection information without causing any race condition. References: https://todo.sr.ht/~emersion/soju/1