Added PIN Reset functionality on server side

Works with the latest XIM extension code. 

Stores data in a temporary array, then deletes the data after it's done.