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.
Merge pull request #12 from andrewray/conn_up

decode connection upgrade header with regex