The provisions of sections 786, 787 and 788 apply, with the necessary modifications, to the service and proof of service of summons on a witness to attend at a trial of offences in the High Court.