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
Unfortunately, as it stands, it has to be re-generated since the init() is called (and the client is created) before the command-line parameters are parsed.  This method is called only once, no harm.