Add create socket event