Ellesmere Canal, Railway and Water Supply Act 1804