Fixed an issue with sending GetDiagnostics.req

Changed parameters from a primitive int to an Integer so null values are allowed.

fixes #38