Terahertz electromagnetic response of random-bond metal mesh