Do the neon ssl initialization.

This fixes bug #1298 and also probably #1297. More tests needed.
Added proxy support to owncloudcmd.