diff --git a/Network/Wai/Handler/WebSockets.hs b/Network/Wai/Handler/WebSockets.hs
--- a/Network/Wai/Handler/WebSockets.hs
+++ b/Network/Wai/Handler/WebSockets.hs
@@ -37,7 +37,10 @@
         | otherwise                      -> Nothing
     _                                    -> Nothing
     where
-        req' = WS.RequestHead (Wai.rawPathInfo req) (Wai.requestHeaders req) (Wai.isSecure req)
+        req' = WS.RequestHead
+            (Wai.rawPathInfo req `BC.append` Wai.rawQueryString req)
+            (Wai.requestHeaders req)
+            (Wai.isSecure req)
 
 --------------------------------------------------------------------------------
 ---- | Internal function to run the WebSocket io-streams using the conduit library
diff --git a/wai-websockets.cabal b/wai-websockets.cabal
--- a/wai-websockets.cabal
+++ b/wai-websockets.cabal
@@ -1,5 +1,5 @@
 Name:                wai-websockets
-Version:             2.0.0
+Version:             2.0.0.1
 Synopsis:            Provide a bridge betweeen WAI and the websockets package.
 License:             MIT
 License-file:        LICENSE
