When we cook crabs, we remove the shell and all the guts, rinse and then cook the crab. The whole crab is still intact, minus the shell.
You can use a cup of sea salt( depending on the amount of crabs) for 10 quarts of water.
When you do this you don't get that funky foam and smell in the pan. good luck.