diff --git a/lib/KurentoClient.js b/lib/KurentoClient.js
index <HASH>..<HASH> 100644
--- a/lib/KurentoClient.js
+++ b/lib/KurentoClient.js
@@ -177,6 +177,8 @@ function noop(error, result) {
  *    Timeout while a response is being stored
  *   @property {external:Number} [duplicates_timeout=20000]
  *    Timeout to ignore duplicated responses
+ *   @property {Object} [socket]
+ *    Websocket connection options
  */
 
 /**
@@ -906,7 +908,7 @@ function KurentoClient(ws_uri, options, callback) {
           onConnected();
         }
       })
-      .connect(ws_uri);
+      .connect(ws_uri, options.socket);
 
     Object.defineProperty(this, '_re', {
       get: function () {
Forward WebSocket connection options to reconnect-ws when constructing KurentoClient instance.