Changed connect with timeout to use poll() instead if socket() to avoid problems with many open files
Attach a file by drag & drop or click to upload