Remove use of POSIX::2008 as it doesn't build on Mac OS X.

Use HTTP::Date instead for date parsing.