minimal p2p service init in cli commands
better error message for bad error codes