Changing to Apache HttpComponents, because it seems to work