Reproduction of issue  when closing client with empty status
Second check to ensure the conncetion was gracefully closed on the server
Correctly interpret close messages from client with empty status
Merge pull request #1 from kbekkenutte/master

Closing the client with an empty status would fool the server connection into thinking the connection was still open