When the stream ends, close ws with a normal (1000) code
Add no-op close and send methods to MockWS
Add more complete unit tests