Adding statd logging middleware, still needs work to work with saddle en...

...dpoint options