Your problem sounds like your steam traps are plugged up and some may have to be replaced. Another thing you might want to check is if you have a Hoffman Loop installed at the boiler. Make sure you have no saging pipes on the return piping. Steam converts back to water and if it is not capable of returning a Hammer Noise developes. If you have a forced hot water system, you may have Expansion problems within the system. If this is the cause, you have your work cut out for you. You must locate where the piping is rubbing to eliminate the noise.