Logging SocketIO errors.
Added cookie based session id.