Use RFC 2616 compatible time

RFC 2616 states that the time in the If-Modified-Since header must be in GMT.
Time#rfc2822 returns a time with time zone offset whereas Time#httpdate always
returns a time in GMT.
Merge pull request #655 from lmarburger/fix-if-modified-since-header

Use RFC 2616 compatible time