switch to MultiJSON from Oj, to enable support for 0.13.0
enable SSL support
neaten things up a little