split up host, port, and path