Support multi-tunnels

- src(mqtt.py, publish.py): fix set_tunnels
- src(core.py): fix register
- src(test_core.py): fix tests