Added exception and doc comments

Added an exception to setFollowRedirects so that GWT-backenders don't accidentally set it to false (which will not work). Also added doc comments so that these functions are added to the API.