fix bug with receiving 0 payload frame in streaming mode