The attached/welded pipe to the flued opening is just a normal 'nozzle neck', hence this first weld is part of pressure vessel design and is under jurisdiction of your design code, including the nozzle neck thickness (your pipe wall thickness). Also, part of the pressure vessel code is the next weld if you attach a flange, otherwise it will be a piping weld if you attach another pipe.