As you probably know there isn't going to be a package to emulate any old service. The closest you will get are probably:
* FakeNet-NG (dev has been suspended indefinitely) [0]
* INetSim [1]
Reverse engineering, and malware analysis skills will transfer to this task directly.