Adding --socket parameter to bin/purge_relay_logs

It's sometimes needed when using multiply instances and socket connection (instead TCP).