Add user_agent in file_get_contents

Fix for server that are configured to refuse any connection without user_agent.