Creates a new (disconnected) socket
name of first property to set (or null)
null
value of optname1, followed by additional property/value pairs
optname1
the new socket