Optimize http with C++ 11 feature
allow inspect not register when server is nullptr