wsParseInputFrame data length size fix

When payload length is greater than 255, the control variable i overflowed thus causing a dead loop. This fix uses the same type for i as for ending condition variable *dataLength. 

By the way, your work on cwebsocket project is amazing. Thanks a great deal! 

-Minghua