Exit 2 when unstable

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Add proxy support

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>