added missing license block
added support for when failing to connected to proxied server