Fix Parsoid proxying for dev and prod environments.
Merge pull request #1602 from Wikia/parsoid-proxy

Fix Parsoid proxying for dev and prod environments.