bugfix: memory leak in TCP TLS mode
update license to ASL 2.0
fix regression in today's TCP TLS memory leak fix
update license to ASL 2.0

got OK from contributor Christiano Rolim, so we are now
ready to change
Merge branch 'v7-stable' into v8-stable