(5)If, after the receipt of the copy of the judgment or order, a relative, friend or agent of the prisoner undertakes to make the appeal on his behalf and the prisoner consents in writing to that course, the copy of the judgment shall be delivered to such relative, friend or agent as the case may be under proper receipt.