test websocket close frame

Simple test. Issue #59 
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