In a civil matter counsel shall not be competent or permitted to testify to confidential communications made to him by his client, nor shall the client be compelled to disclose the same, unless in either case this privilege is waived upon the trial by the client.
42 Pa.C.S. § 5928