Fixes bug in proxy options handling.
Better handling of error on CLI args parse failure.