Turkish parliament ratifies social media bill