HttpEndPointServer: Use a singleton class instead of an extern variable

Change-Id: Ic44d13e498388621389ac0428d46ca0480116ea2