Added easy builder methods for port, scheme and hostname. Added tests.