Fixed issue with session object not being available in handshake middleware
v0.9.43