Refactored HostContext

Created CurrentHostContext and made HostContext lighter.  All server
code should use CurrentHostContext instead of HostContext