engines/http: work-around crash in certain libssl versions