Use destroy buffer size on websocket transport method as well

This is a fix for possible DOS attack vector of hogging all the memory in the system with incoming data.