added debug to socket