[lib] swapped toGMTString with toUTCString
[lib] fixes #6 escape / unescape are deprecated