Compatibility fix for reverse proxies

Fixes an issue I was having with Apache not proxying websockets by using a
more primitive method