revised ping code

removed asserts and replaced with ifs
added new check for legacy compat (1.2)--fallback if first three bytes
unexpected