decode connection upgrade header with regex

firefox sends header with "keep-alive, Upgrade" which fails the
assert_lwt test.  This relaxes the parsing a bit by using a
simple regex.