Parse headers only if message don't have error
Parse headers only if message don't have error

Some time this method is called with empty message and if we will try parse headers we will get segmentation fault

arnaud-lb/php-rdkafka,arnaud-lb/php-rdkafka,arnaud-lb/php-rdkafka,arnaud-lb/php-rdkafka