In JUCE_HTTPSocketStream::open(), the code that reads the status code should be changed to this:
statusCode = responseHeader.fromFirstOccurrenceOf (T(" "), false, false)
.substring (0, 3).getIntValue();
At the moment it reads the text right after the actual status code, so statusCode is always zero, which prevents redirection to an alternate url.