A handy class to host and consume WCF service with basic net tcp or ws http binding