Sounded like a propane tank explosion; but probably a sonic boom since I saw jet contrails in sky upon looking out the window.
There were no earthquakes in the area. Any military bases around you?
Pease Air National Guard Base is a New Hampshire military base located at Portsmouth International Airport.
There is a news article stating that the boom was also heard along the Merrimack Valley in Massachusetts and New Hampshire: