Add support for sending session options from python client.