Buffer events until socket is connected.