This is a fork of https://gist.github.com/vitkin/6661683
That version lacked fixes present in Apache httpd 2.4.10. Therefore I started afresh using the source from 2.4.10. Similar to the previous backport, the new module (mod_proxy_wstunnel.so) can be used with the existing Apache modules from your distro packages.
This patch has been used with apache2-2.2.12-1.42.1 from SLES 11 SP3.