require net/https as it is not always loaded in rails