Refactor restrict code into more logical structure
Rename AppSelfHostBase to AppHostHttpListenerSmartPoolBase