einaros/ws — pull request #162 by abalandin (2013-02-21 21:57:57+00:00)
Title: allow passing custom headers in upgrade-request

// example:
var ws = new WebSocket('ws://host:port/ws', {headers: {cookie: 'key=value;'}});