Change the HTTP fetching implementation for the online update checking.
Some boyscouting.
Merge branch 'master' of https://github.com/RIPE-NCC/rpki-validator
Merge pull request #4 from toreanderson/foreground-run-mode

rpki-validator.sh: add a run in foreground mode
Fix fork problem when run/start init script.

	- '&' was interpreted as a char by eval and it was not forking the process as desired.
bugfix: ensure 'start' actually daemonises

Putting the '&' in a variable and evaling it as part of a command line
doesn't seem to actually work as one would expect. So instead run the
application with or without the '&' in an if/else conditional based on
how we're called. Also split out the entire command line in a variable
to reduce the amount of duplication inside that if/else.

This also fixes a bug that caused the -Dconfig.file command line
argument to be conflated with the value of -Dapp.name, rather than being
interpreted as a separate command line argument with a value of its own.
bugfix: ensure 'start' actually daemonises

Putting the '&' in a variable and evaling it as part of a command line
doesn't seem to actually work as one would expect. So instead run the
application with or without the '&' in an if/else conditional based on
how we're called. Also split out the entire command line in a variable
to reduce the amount of duplication inside that if/else.

This also fixes a bug that caused the -Dconfig.file command line
argument to be conflated with the value of -Dapp.name, rather than being
interpreted as a separate command line argument with a value of its own.
Merge branch 'foreground-run-mode' of github.com:toreanderson/rpki-validator into foreground-run-mode
Merge pull request #5 from toreanderson/foreground-run-mode

bugfix: ensure 'start' actually daemonises