client: introduce client_open()