Revert "Fixed MQTT topic rewriting support."

This reverts commit 131dc05582fea1c6f426564858577a064e9631a4.