diff --git a/lib/cramp/action.rb b/lib/cramp/action.rb
index <HASH>..<HASH> 100644
--- a/lib/cramp/action.rb
+++ b/lib/cramp/action.rb
@@ -112,7 +112,7 @@ module Cramp
     end
 
     def websockets_protocol_10?
-      [8, 9, 10].include?(@env['HTTP_SEC_WEBSOCKET_VERSION'].to_i)
+      [7, 8, 9, 10].include?(@env['HTTP_SEC_WEBSOCKET_VERSION'].to_i)
     end
 
     def protocol10_parser
diff --git a/lib/cramp/websocket/extension.rb b/lib/cramp/websocket/extension.rb
index <HASH>..<HASH> 100644
--- a/lib/cramp/websocket/extension.rb
+++ b/lib/cramp/websocket/extension.rb
@@ -10,7 +10,7 @@ module Cramp
     end
 
     def websocket?
-      @env['HTTP_CONNECTION'] == 'Upgrade' && ['WebSocket', 'websocket'].include?(@env['HTTP_UPGRADE'])
+      ['WebSocket', 'websocket'].include?(@env['HTTP_UPGRADE'])
     end
 
     def secure_websocket?
Firefox 6 websockets support