(2)No person so arrested shall be detained in custody after his true name and address are ascertained, or without, the order of a Magistrate, for any longer time, not exceeding at the most twenty-four hours from the arrest, than is necessary for bringing him before a Magistrate.