Return the correct Content-type on negotiated XML-RPC requests.

https://fedorahosted.org/freeipa/ticket/3745
Remove unused variable