socket: Add num connections to qio_channel_socket_sync()