Compare RealProxy and transparent proxy references if equal use the is operator to get interfaces.
Closes #123