added socket object examples