SSL session closure should be treated like EOF