Changed the way the _encode_request is building the request.

This change allows for arrays with mixed content to be used, eg:
$userIds = $this->redis->sort('users', array('by' => '*->time_created',
'limit', $start, $perPage));

That answers my question in the issues list :)