Port number parameter now passed to DBI as integer.

This fixes the problem reported to the user mailing list (https://lists.oetiker.ch/pipermail/rrd-users/2013-November/019525.html). However this fix only applies to port number parameter and there may be other parameters that need to be treated as integers rather than char strings.