use regex to check for upgrade header

in websocket connections
test new detection of connection: upgrade