split direct peer messages into modularized files for different protocol versions