Foaming also happens if the path of the beer isn't smooth, like dirt, sharp bends in the line, displaced seals, or other obstructions. If the foaming started after the new faucet was installed, take it apart and check that it doesn't have metal filings or rough edges inside from machining.