WebSocks is supported by Apache starting at version 2.4.xx. Here are some minimal configuration for Apache 2.4.xx. in Ubuntu 14.04.x
Install the proper modules:
a2enmod proxy
a2enmod proxy_wstunnel
Configure the VirtualHost (only the WebSock part is shown here)
# Make sure the backend server gets the right URL in 'Location:' http Header
ProxyPreserveHost On
#
# Forward only the websocks requests to the Websocks handler in the backend server
RewriteRule ^/websock/(.*) ws://my.backend.net:8080/websock/$1 [P]
ProxyPassReverse / ws://my.backend.net:8080/
#
# Forward the rest of the requests to the backend server as http requests
ProxyPass / http://my.backend.net:8080/
ProxyPassReverse / http://my.backend.net:8080/