test websocket close frame

Simple test.
There are maybe some ideas what else should we test?

Also, I think we should look at https://github.com/aaugustin/websockets/blob/master/websockets/framing.py
and maybe implement same close frames parsing