Keep using factory like last commit
Create test case for fsockopen only Ping class
Create fsockopen-only Ping class with auto-extract port support
Return new Ping class