utils.httpdate: add HTTP date string parsing and generation tools