Fixing connect middleware.
Added text/xml to the content-type check. Fixes #21