Bug 1001188: Set the error code when the max cert chain length limit is exceeded, r=cviecco a=sledru