expose connect.middleware using Object.getOwnPropertyDescriptor()

closes #1853. no tests, but it should be fine.
bump connect, mocha, and should