Add port number and IP support for host. Switch to PSR-4