fixed optional managed object context in server delegate protocol