Avoid deep recursion when setting up new HAProxy modules

Please, @carlosperello take a look on the FIXMEs to fix them :)