Bug 1113159 - adding desired capabilities support similar to the python ...

...client.