Case insensitive compare of "websocket" keyword

Necessary for IE10 compatibility