Assange was working with a US spy. Our laws apply to him no matter where he is or is from.
So have countless reporters here in the US, none of whom have been prosecuted for the same.
The selective prosecution argument alone acquits.