The tiny seaside town that played a big role in the birth of the U.S. Navy