Improve error messages
Improve error messages

Improve sudden-close error messages. Capture extreme case of sudden close where just one byte is received, as an IOError instead of triggering bounds-check errors.
JuliaWeb/WebSockets.jl,JuliaWeb/WebSockets.jl