Fix incorrect references to socket in SuccessiveXmlHttpTransport.js