Change port num for HTTP.
Add getUnameFromPath() for new URL structure.