allow configuration of connect middleware sequencing