It shall be the right of a witness to be examined only as to relevant matters and to be protected from improper questions and from harsh or insulting demeanor.