title: How to escape a special character (forward slash) in a mqtt topic?
body: <p>I have this application using the <a href="https://github.com/fusesource/mqtt-client" rel="nofollow">mqtt-client java library</a> to connect to an ActiveMQ broker via mqtt. The subscribing, publishing and receiving of the messages work fine as long as my topic does not have a forward slash (/).</p>
  
  <p>I understand that forward slashs are special characters in mqtt and as per <a href="http://activemq.apache.org/mqtt.html" rel="nofollow">activemq mqtt support</a> the <code>"/"</code> will be converted to <code>"."</code>. However, in my case, I need to connect to topics that have been created using JMS and which are written as an uri (example <a href="http://activemq.apache.org/" rel="nofollow">http://activemq.apache.org/</a>) and will therefore have "/" on their names.</p>
  
  <p>Is there anyway to scape the <code>"/"</code> on mqtt? At the moment, if I try connecting to a topic called <code>http://activemq.apache.org/</code> it will in fact connect to <code>http:..activemq.apache.org.</code></p>