cleaned up I/O on transported types, removed dependency on remote close() after message