Added socket timeout for HTTPSConnection