Support for /picture and other "redirect" connections

The /picture connection does not return any content, it returns a HTTP 302 response with a location header to the image.

I modified the makeRequest so the headers are readed and if the http status is 302, return the location header instead of an *empty* content.