Chelsea captain John Terry has signed a new contract at Stamford Bridge after agreeing terms on a one-year deal.