Refactored header management in HTTP requests and added the common User-Agent header to prevent a ban from the flood protection