title: socket.io - How to check if the client has connected from browser
body: <p>What is the most reliable way to detect if some one has directly connect to my socket connection instead of browser? I know that we can bypass all of that but I realized some WebSockets like tradingView return 403 when connecting directly from <code>socket.io-client</code> but works fine from browser.</p>
  <p>How does it detect that And How can I implement that for my own socket.io server?</p>