Improved UTF8 encoding-decoding of server responces