adding upgrade for nginx websockets