Angular Socket.io с заголовком токена

var socket = io("http://localhost", {
  extraHeaders: {
    Authorization: "Bearer authorization_token_here"
  }
});
Stupid Sable