Implement support for tip expiration extending.

XXX there are still some bugs in the backend.