contrib: Add contribution for Silviu Popescu

After 3 iterations Silviu's patch was accepted by David M.