Re-enable custom port in JSON RPC2 client
The switch to curl in the JSON RPC2 client lost the ability to set and use a custom port for the client, which is passed in the constructor.
This can be resolved by setting the CURLOPT_PORT with the set port.