allow overwriting config_dir
Add enable_udp_listener and custom http snippets
Merge pull request #22 from roidelapluie/master

minor improvements and fixes