Fix a websocket bug in MSIE

MSIE sends its upgrade header capitalised, rather than lowercase, as Chrome does. Therefore, we need to also check for the capitalised version of the string.