* Add cookie to check share link access
* Modify user agent and add timeout
* Add filename to attachment
* Go set filename to attach
* C set filename to attachment
* Adjust position of check priviate key
* Set Content-Type and User-Agent
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>