remove connect(middleware...)

closes #992