Fix HTTP request parsing on Qt5.