Clean up no Players on the Server Response

I was having a play with the code to integrate the library in my own project.

When I found listPlayers would return the following when no one was online

    Array
    (
        [0] => 
    )

Which is an array of count() = 1 where the only item is empty. (well likely containing the later mentioned trash data)

It's more practical to return

    Array
    (
    )

An array of count() = 0

The trim() is needed as there is some trash unicode data in the string (after you have str_replace-d it) breaking the empty check, trim cleans that rubbish