Patch for issue #954
Changes slaveofCommand to set flag REDIS_CLOSE_AFTER_REPLY instead of freeing client
immediately when client is the replication master. Allows master to send 'SLAVEOF NO ONE'
without slave crashing with a segfault.
Handle 'SLAVEOF NO ONE' from master without segfaulting
Passes tests and seems to work fine in our production env.