LPS-33679 Since HttpImpl now uses @DoPrivileged annotation, the HttpImpl bean must be obtained with doPrivilegedBean.getActualBean().
LPS-33679 Apply everywhere where casting from Http to HttpImpl