def: 7018, 7013: Calculate URL path with port

git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/front/workspaces/kcw/trunk@97152 6b8eccd3-e8c5-4e7d-8186-e12b5326b719