http client is an EventEmitter