Follow redirects when using pure HttpUrlConnection.

@swankjesse