Move buffered_app_data from s->d1 to s->rlayer.d