Logging to loggly over UDP.

It was broken, and it didn't seem to send proper JSON. Also started using curl for the HTTPS messages.