Revise rfc822 decode method

Now decoding a rfc822 string with minus timezone string or
heading and trailing white spaces works.