decoding cyrillic headers encoded in win-1251 and koi8-r

Added headers decoding.