Added beforeOpenQueue for requests made before socket is open.
Renamed area.index to just area.
Changed readystate to readyState.