Trap a broken websocket when sending the close frame
Cleanup setup to better support nose etc.
Clean dev requirements