Fixed a bug that was added in the last commit that didn't properly calculate the length of web socket frames that where <= 125 bytes.