For the purpose of surrendering the defendant, the surety may arrest him before the forfeiture of the undertaking, or by his written authority endorsed on a certified copy of the undertaking, may request any judicial officer to order arrest of the defendant. (1963, c. 1225, s. 7; 1975, c. 619, s. 1.)