The City of Port Phillip has come under fire over a plan to fight crime by making homelessness and rough sleeping illegal.