Removed the explicit check for https