HttValidTausProducer: remove code duplication