Add HTTP upgrade support