added decoding mechanism for vnc #85