Add status code check of closing frames in websocket
Add status code check of closing frames in websocket

if the payload length is 1 or greater than 125 it is invalid. If the length
is greater equal 2 the status code is checked. If the code is illegal, the
connection is closed with error code (1002), otherwise the code is sent back.

gatzka/cjet,gatzka/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet,mloy/cjet,mloy/cjet,mloy/cjet