Minor code clean-up of socketadmin
Move test_ops() into TestOpsSocketHook class
Clean-up long lines
Fix long line, fix bufferlist log output and add dout for header