adding setters on socket init connect