AST-2018-009: Fix crash processing websocket HTTP Upgrade requests