move inspect from server to daemon

ping @shykes 
Fix #3677

1st pass, another PR will follow to cleanup a bit