Prepare for socket connect and reconnect server responses by handling run:gist events