sockets: remove use of QemuOpts from socket_connect