Raspberry Pi is still on Apache 2.2 (2.2.22-13+deb7u4 right now). To use Apache as Proxy for Websockets ("ProxyPass") Apache Module mod_proxy_wstunnel is required.
Apache Module mod_proxy_wstunnel is available in httpd 2.4.5 and later.
How can I add mod_proxy_wstunnel to Apache2 2.2 on Raspberry Pi (Backport mod_proxy_wstunnel)?
Download Apache Source, add patch from Vitkin, compile Apache and add module mod_proxy_wstunnel.so to Apache Modules
Details about the patch: https://gist.github.com/vitkin/6661683
Detailed steps: