Bug-fix in XML-RPC library

$type and $typeof are passed as strings in this function, therefore I took the easy way and simplified the validation.

I tested with different requests (strings, numbers ..), no other issues found.
1 file changed