 yet when they are legislating they show in all cases except treason felony and breach of the peace be privileged from arrest during their attendance at the session or their respective houses and in going to and returning from the same