Each house may punish by imprisonment, not extending beyond the session, any person not a member who shall be guilty of a contempt by any disorderly behavior in its presence or who shall rescue or attempt to rescue any person arrested by order of either house.