Full support for Connect middleware usage. Closes #74. Ref #65.