No writ of habeas corpus can be disobeyed for defect of form, if it sufficiently appear therefrom 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.