Thames Water has taken the first step in its bid to avoid administration after a High Court judge ruled a plan to secure up to £3 billion in funding could be put to creditors for approval.