MODE-2287: Replace BASE64 decoder
Merge pull request #1247 from okulikov/MODE-2287

MODE-2287: Replace BASE64 decoder