msg_peek so on the length so we don't have to maintain a buffer