make "copypaste SOCKS" and "Simple TURN" samples work with freedom.js v0.6

TURN was pretty simple but copypaste SOCKS required a bit of futzing around because the freedom object is interacted with by several different files.

Hoping you can take a quick look.

Still working on churn!