GH110: WebSocket accept() fails when Connection header contains multiple tokens

fixed GH #110: WebSocket accept() fails when Connection header contains
multiple tokens