httpdate parsing by RFC 2616

Not so clean how it can be, but can't figure out how to improve it now.