This picture above was before I did any body work, bed sides, etc a couple years ago. I wouldn't weld, but rather would weld some bolts to the pipe and bolt the sockets in place, using a couple of these bolt holes currently occupied by carriage bolts. The angles you see are joined left to right by a 4" wide piece of 1/4" steel crossing under the bed opening, hidden by the tailgate lower portion.