Add websocket support for nginx vhosts

Add the mapping for websockets upgrade and the proxy headers.