pub async fn write_message<W: AsyncWrite + Unpin>( writer: &mut W, json: &str, ) -> Result<(), Error>
Write a DAP message to the stream
Adds the Content-Length header and writes the JSON body