I added a flag to use cookies or not. I added a method to check if a server support cookies or not. I refactor how to check if a server is higher than other in a single method to be used on the check of cookies and on the share support API check