move the ts buffer to http message