improve PathInterface
improve IP handling in Host
remove PHP5.3 support