When Akamai delivery type is not set on the account first check ...

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