examples/default-generator.js
function clientReadyMessage (cookies, user, pass) {
  return {
    type: 'connected',
    user: user,
    sessionID: cookies.sessionID,
    pass: pass
  }
}
function clientReadyMessage (cookies, user, pass) {
  return {
    type: 'connected',
    user: user,
    sessionID: cookies.sessionID,
    pass: pass
  }
}
What the client responds with when the `connect` message is sent. Called by
the `connect` haqndler in the `exports.events` handler
@method  clientReadyMessage
@param   {object} cookies the cookies
@param   {string} user the username
@param   {string} pass the password
@returns {object} the message