Return nssocket instance from createClient