fix decodePayloadAsBinary memory leak

If `data` has no byte with the value 255, the `for` loop will not exit and `bufferTail` gets bigger and bigger until the nodejs server (in my case) crashes. 

`strLen.length > 310` (Number.MAX_VALUE is about 310 characters long)