Split auditing proxy out as separate module. Issue: #459
Added testing. Issue: #459