public function parseIncoming()
    {
        $incoming_data = json_decode(trim(file_get_contents('php://input')));
        if (!$incoming_data) {
            throw new Services_Zencoder_Exception(
                'Unable to parse notification data: ' . file_get_contents('php://input'));
        }
        return new Services_Zencoder_Notification($incoming_data);
    }