events rpc expects urlencoded request
fixed test endpoint.events to provide urlencoded request to events endpoint.