updated the proxy to only work with http:// and https:// addresses