Added ability to supply client properties in socket options

It's not quite the right place, going on the name of the parameter,
but better than having another argument.