WebSocket "open" and "close" events

Allow to track the event when the proxied websocket connection has finished.
`destiny` and `proxyServer` variables would be global. Use `,` at the end after `proxy` and `server`