rtmpproto: Check the buffer sizes when copying app/playpath strings