driver: add 'connect_opts' attribute