Old prosody config improvement - patch by Damian Minkov.