Pepper spray was flying as police failed to keep anti-immigration protesters and counter-protesters apart in Melbourne.