Added support for a proxy (host and port only)

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