Fix URL parameter parsing when an int/Integer is required.

Based on a patch by Brett.

see https://github.com/impossibl/pgjdbc-ng/issues/87