created getFullHost and getFullPath