Timeout must work for the entire header data
Fix: mg_upload file created with \ character (issue #51)