Fixed various issue related to payload data and unmasking.
And also for the response when len is 0xffff