title: terminate called after throwing an instance of 'std::length_error'
body: <p>I m getting the following exception. and not sure what s causing it.</p>
  
  <p>any ideas?</p>
  
  <p>here is my connection string:</p>
  
  <p>std::string brokerURI = "tcp://127.0.0.1:61613?wireFormat=stomp";</p>
  
  <p>and this is the error:</p>
  
  <pre><code>E 05-150926.792540  4680 yfor_lookup4: invalid hostname: &lt;(null)&gt;
  Invalid argument
          FILE: decaf/internal/net/tcp/TcpSocket.cpp, LINE: 222
          FILE: decaf/internal/net/tcp/TcpSocket.cpp, LINE: 251
          FILE: decaf/net/Socket.cpp, LINE: 327
          FILE: activemq/transport/tcp/TcpTransport.cpp, LINE: 154
          FILE: activemq/transport/tcp/TcpTransportFactory.cpp, LINE: 117
          FILE: activemq/transport/tcp/TcpTransportFactory.cpp, LINE: 59
          FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 322
  terminate called after throwing an instance of 'std::length_error'
    what():  basic_string::_S_create
  Aborted (core dumped) 
  </code></pre>