title: MQTT in paho can't connect in connection
body: <p>I am trying to use the MQTT javascript client from Paho. I see a example from HiveMQ, you can check it here  - -  <a href="http://www.hivemq.com/demos/websocket-client/" rel="nofollow">http://www.hivemq.com/demos/websocket-client/</a></p>
  
  <p>It seems to be working, however when I set the host as: <code>test.mosquitto.org:1883</code>, which is a mqtt broker service at mosquitto, it fails.</p>
  
  <p>When I tried to connect to this mosquitto service, it gives me a error on connection - <code>connect failed: AMQJS0007E, Socket error: undefined.</code></p>