decode chunk stream to RTMP message