makefile: upload*: improve register cmd
improve handling of HTTP date-time strings

* datetime_from_httpstr(): fix several major correctness bugs.
* improve names.
* improve style.
* improve docstrings.
improve names, style, docstrings
add datetime_from_re_match()
add ISO_LIKE_FORMAT_RE
bump version string