Fixed a little problem in connect-logger.js to work correctly with Express

Fixed a little problem in connect-logger.js