In any proceeding hereunder, depositions may be taken as provided by RSA 517.