Add support for mod_bmx

mod_bmx allows to collect metrics for httpd in a very easy way.
This commit is based on the work previous done by Heiko Rupp and Maxime Beck it supports both mod_snmp and mod_bmx.
should be done in a finally block to prevent leaks on error.