fixes a bug in multibyte signed request decoding