Add network timeouts and other config to try and prevent deadlocks
- Add connect and read timeouts for Requests library calls.
- Configure LDAP server pool to abort if not working connection is found after one loop over all servers
- (random) Set a proper User-Agent when talking to Phabricator
Bug: T356097