added setEncoding to options to be called on response