Building blocks for a microwave leakage detector