httpd 2.4.17 added experimental hooks for automatically handling Upgrade requests (for HTTP/2), which might greatly simplify the module handshake code. Even if it doesn't work out, getting feedback upstream to the mod_http2 devs would be appreciated.