Test HTTP failure modes