PasteOb is not a drop-in replacement for Paste because it removes a lot of stuff only keeping the most useful parts and making them more readily available. Some things don’t need much rewriting so they were removed as well — import them from original location (for example paste.httpserver).