Fix error handling on client invokation method

Adding these ad-hoc keys to an Error object breaks error handling in the original client.invokeMethodName call. Lines 150 and 151 should be removed as they are added as arguments when calling callback on line 152. This should fix some issues