SSL middleware does not cause Express to throw exceptions any more