Attempt to improve handling of socket IO.
Attempt to improve handling of socket IO.

lekkas/livegrep,wfxiang08/livegrep,lekkas/livegrep,lekkas/livegrep,paulproteus/livegrep,wfxiang08/livegrep,paulproteus/livegrep,lekkas/livegrep,paulproteus/livegrep,wfxiang08/livegrep,paulproteus/livegrep,lekkas/livegrep,wfxiang08/livegrep,paulproteus/livegrep,wfxiang08/livegrep,wfxiang08/livegrep,paulproteus/livegrep,lekkas/livegrep