fix #1021, added automatic regex entries for hosts on the connect tab, added helpers so we can easily do it from fabric too when we get around to it...