NetworkClient: Break set_socket out of the constructor (since it may fail).