Fix handling of receive of close frame in corner case - fixes #283
whitespace cosmetics