IPX4 waterproof headlamp