s3:torture: add torture_open_connection_flags()