Added support for a proxy throught options

Signed-off-by: Raphaël Audet <raphael.audet@gmail.com>