reworked p2p package handler interface and friends.