Added 'close' message to HTTPL as a distinct event separate from 'end'