Add all headers in lowercase.
Use log.debug() instead of a commented log.info().
Add headers to an existing array.
Adapted test to addHeaders().
Add default headers: user-agent, host and accept.