If we're being fully consistent with the current implementation of confidence level, I think we would use this: http://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval#Wilson_score_interval

In practice I don't think it matters much. I'm fine with the two-tailed t-test.