now getClientAddressFromHttpRequest works with http requests, websocket-node requests and socket.io requests