rtmpproto: read metadata to set correct FLV header

In the presence of no metadata, do not set any stream flag in the FLV
header but let the decoder handle the detection and creation of streams
as data arrives.