added 2 command-line parameters:

    --http-timeout
    --poll-interval

These default to the previously hard-coded values and can now be
overriden on the command line
I feel a little worried about getting a bunch of parameters here, but I don't have any suggestions to ameliorate that at the moment.