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
Is it necessary to generate a client here?