Unclutter the client_new() constructor by moving unrelated complex code into a separate function.
Attach a file by drag & drop or click to upload