Trifecta: Faster High-throughput Three-party Computation over WAN using Multi-fan-in Logic Gates