LandRegistry/front-end-tests — pull request #3 by mooreandrew (2014-07-25 13:18:43+00:00)
Title: Using URI.parse to get port address

URI.parse will work out the port number rather than splitting :+1:

This will then allow you to use uri.host and uri.port.