Add hmac-based authentication of uploads
Remove E_NONE (no such thing)

Ref. https://bugs.php.net/bug.php?id=16330 and
https://bugs.php.net/bug.php?id=52563. There is no such constant.