An arrest is made by an actual restraint of the person, or by submission to the custody of an officer. The person arrested may be subjected to such restraint as is reasonable for his arrest and detention. (PC 835)