Support for CLOSED ProtocolMessage from server
Bug fix in Logger when body is not binary
Force close connection if CLOSED message not received from server