I agree that social effects are probably worse, but making prostitution legal doesn't solve all of them - after all, underage prostitution will always be illegal (I hope) and probably rightly so, and that's one way into all those illegal activities.
Here in Uruguay, prostitution is legal, yet we do have problems with minors being pressed into prostitution, and also the sex export trade, where women are more or less kidnapped and sent to Europe (Italy and Spain mostly)
Drugs are similar in that by making them illegal you bring in gangs, guns, and even move violence. If someones pot dealer screws them over what is their only recourse? Violence. You also have the violence of territory to sell on, etc...
IMHO, the illegality of things like drugs and prostitution actually causes the social effects to be worse then if they were legal.