Leave a big hour gap (try for 3). Try to make one layover in the US. It's easier to solve problems in your home country.
We disliked our Boston layover of a couple of hours or so. It was a long, confusing transfer at a run between domestic and international. A staff person was rude when we asked for directions.