EZP-22781: Changed LegacyIOService prototype

Now accepts an array of options. Meant to be built by a factory
that uses the ConfigResolver.
EZP-22781: Added LegacyIOService test