in medieval times it encompassed london , westminster , and southwark , guarded by a defensive wall built by the romans in the second century , around which the modern metropolis threw its many arms like a spider extending its web .