The writ must state in whose custody or under whose restraint the party imprisoned or restrained is, the officer or person detaining him, and the Court or Judge before whom he is to be brought. (PC 1495)