Cleaned up P2PMsgsUtils to allow for optimal packet efficiency.