Fixed /v1/log to work with Apple's push

According to

https://developer.apple.com/library/prerelease/mac/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW1

a call such as

curl -X POST -H "Content-Type: body=application/json" -d '{"logs":["foo", "bar"]}' https://example.com/v1/log

will be sent. The previous code would have never make it happen.