Buffer and replay WS messages during session setup
Buffer messages that arrive before async session creation completes and
replay them once the session exists. Also send a newline after attaching
to
trigger a prompt redraw since initial shell output can be lost while
wsClients is empty.