Added connection handling middleware w/ tests