Restore Fix for: When Akamai delivery type is not set on the account...

When Akamai delivery type is not set on the account first check if hds
is allowed before falling back to HTTP