A transport layer approach to improve energy efficiency