Implement `O` packet, forwarding stdout back to debugger.