Fixed --insecure flag
Better error messaging on http forbidden error