@Override
    void createChannels() {
        channelAtoB = new DynamicAddressChannel(socketA, hostB, portB);
        channelAtoBControl = new DynamicAddressChannel(socketAControl, hostB, portB + 1);
        channelBtoA = new DynamicAddressChannel(socketB, hostA, portA);
        channelBtoAControl = new DynamicAddressChannel(socketBControl, hostA, portA + 1);
    }
Creates a new Smart Session to provide connectivity between Host A and Host B.

@param id        of the Session (Could be a Jingle session ID)
@param localhost The localhost IP that will listen for UDP packets
@param hostA     the hostname or IP of the point A of the Channel
@param portA     the port number point A of the Channel
@param hostB     the hostname or IP of the point B of the Channel
@param portB     the port number point B of the Channel
@param creator   the created name or description of the Channel
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/RelaySession.java