adds socket to the sdk