the thermostat housing has a swirl pot in it, and the pipe on the top is like a breather pipe in effect, if it gets blocked it could cause a pressure build up. Also plays a part in the system bleeding itself.
And the connection on the top of the thermostat is common to rust away and block up.