simple proxying for websockets

I recently searched why all my websockets were getting `502` when my application was behind **nginx**.
This is how to enable proxying of websockets when hte client is asking a `protocol upgrade`; might be useful for some people.