use TypeScript anonymous functions and minor cleanup
use TypeScript anonymous functions and minor cleanup

During the converstion to TypeScript, there was a missed '() => {}'
style anonymous function.  Also, removed '// TODO' comments that were
resolved.

flojdek/blpapi-http,fyquah95/blpapi-http,flojdek/blpapi-http,flojdek/blpapi-http,bloomberg/blpapi-http,flojdek/blpapi-http,fyquah95/blpapi-http,fyquah95/blpapi-http,bloomberg/blpapi-http,flojdek/blpapi-http,bloomberg/blpapi-http