Many drains behind London terraces became public sewers in 2011, when private shared drains and sewers connecting to the public network were transferred to the water companies. Building over one, or within 3 metres of it, needs the water company’s agreement; in most of London that is Thames Water, which offers build over agreements and guidance for small extensions over smaller pipes. The drain may need a new manhole moved outside the extension, a lintel or bridge where a wall crosses the pipe, or a CCTV survey before and after the work. Check the sewer maps early: it can decide the depth and position of the foundations.